type go.opentelemetry.io/otel/trace.noopSpan
15 uses
go.opentelemetry.io/otel/trace (current package)
nonrecording.go#L10: noopSpan
noop.go#L50: type noopSpan struct{ embedded.Span }
noop.go#L52: var noopSpanInstance Span = noopSpan{}
noop.go#L55: func (noopSpan) SpanContext() SpanContext { return SpanContext{} }
noop.go#L58: func (noopSpan) IsRecording() bool { return false }
noop.go#L61: func (noopSpan) SetStatus(codes.Code, string) {}
noop.go#L64: func (noopSpan) SetError(bool) {}
noop.go#L67: func (noopSpan) SetAttributes(...attribute.KeyValue) {}
noop.go#L70: func (noopSpan) End(...SpanEndOption) {}
noop.go#L73: func (noopSpan) RecordError(error, ...EventOption) {}
noop.go#L76: func (noopSpan) AddEvent(string, ...EventOption) {}
noop.go#L79: func (noopSpan) AddLink(Link) {}
noop.go#L82: func (noopSpan) SetName(string) {}
noop.go#L85: func (s noopSpan) TracerProvider() TracerProvider {
noop.go#L100: func (noopSpan) tracerProvider(autoEnabled *bool) TracerProvider {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |